package com.example.spidertp.core.model.enums;


/**
 * @author xiong.bo
 * @version 1.0
 * @date 2023/7/22 11:45 上午
 */

public enum TpLifecycleTypeEnum {

    CREATE(1, "create"),
    SHUTDOWN(-1, "shutdown"),
    ADJUST(2, "adjust");


    private final int code;

    private final String name;

    TpLifecycleTypeEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
